<div class="row">
        <div class="top">首页>审批申请</div>
        <div class="content applylist">
            <div class="box">
                <h1>操作未完成列表</h1>
                <div class="list-block">
                    <div class="row">
                    <form action='{:U("Check/admin")}' class="form-inline text-right m-b-5 fr">
                        <label>用户名称:</label> <input type="text" name="user_name" placeholder="请输入名称" value={$_GET['user_name']} >
                        <label>手机号:</label> <input type="text" name="telephone" placeholder="请输入手机号" value={$_GET['telephone']} >
                        <label>录入时间:</label> <input type="date" name="create_time_beg" placeholder="请选择时间" value={$_GET['create_time_beg']}><em>~</em>
                        <input type="date" name="create_time_end" placeholder="请选择时间" value={$_GET['create_time_end']}>
                       <!--  <label>状态:</label> <input type="text" name="" placeholder="请选择用户状态"> -->
                       <label>状态:</label>
                        <select name='status'>
                            <option value='-1'>状态</option>
                            <option value='1' ><eq name='Think.get.status' value='1'>selected</eq> >启用</option>
                            <option value='0' ><eq name='Think.get.status' value='0'>selected</eq> >禁用</option>
                        </select>
                        <button class="search" type="submit"><img src="__IMG__/search.png" alt="">查询</button>
                    </form>
                    </div>
                     <div class="row">
                        <table class="list">
                                 <tr>
                                <th>编号</th>
                                 <th>申请人</th>
                                 <th>身份证号</th>
                                 <th>手机号</th>
                                 <th>业务部门</th>
                                 <th>申请时间</th>
                                 <th>状态</th>
                                 <th>进入当前状态时间</th>
                                 <th>经销商</th>
                                 <th>操作</th>
                            </tr>

                            <volist name="list" id="user">
                                <tr>
                                   <td>{$user.entry_no}</td>
                                    <td>{$user.user_name}</td>
                                    <td>{$user.identity_no}</td>
                                    <td>{$user.telephone}</td>
                                    <td>{$user.department_name}</td>
                                    <td>{$user.create_time|date='Y-m-d H:i:s', ###}</td>  
                                    <td>申请操作中</td>
                                    <td>{$user.update_time|date='Y-m-d H:i:s', ###}</td>                                    
                                    <td>{$user.bank_short_name}</td>
                                    <td>
                                     <switch name='user.check_status'>
                                        <case value='0'><a href="{:U('Inside/checkApply?user_id='.$user['id'])}">内勤审核</a></case>
                                        <case value='1'><a href="{:U('Check/Region_check?user_id='.$user['id'])}">区域经理审核</a></case>
                                        <case value='2'><a href="{:U('Check/assistant_check?user_id='.$user['id'])}">审核助理审核</a></case>
                                        <case value='3'><a href="{:U('Check/frist_check?user_id='.$user['id'])}">审核专员审核</a></case>
                                        <case value='4'><a href="{:U('Check/admin_check?user_id='.$user['id'])}">审核主管审核</a></case>
                                        <case value='5'><a href="{:U('Check/manager_check?user_id='.$user['id'])}">审核经理审核</a></case>
                                        <case value='6'><a href="{:U('MatApply/add?user_id='.$user['id'])}">垫资申请</a></case>
                                         <case value="7"><a href="{:U('Check/MatApply_check?user_id='.$user['id'])}">垫款审核</a> </case>
                                        <case value='9'><a href="{:U('MatApply/addInfo_second?user_id='.$user['id'])}">垫资资料补录</a></case>
                                        <case value='10'><a href="{:U('ChaoDan/Confirm_check?user_id='.$user['id'])}">抄单资料确认</a></case>
                                        <case value='12'><a href="{:U('ChaoDan/Check_Info?user_id='.$user['id'])}">内勤主管审核</a></case>                                   
                                        <case value='22'><a href="{:U('Express/confirm_info?user_id='.$user['id'])}">快递确认(内勤渠道)</a></case>
                                        <case value='23'><a href="{:U('Pledge/add_info?user_id='.$user['id'])}">抵押资料补录</a></case>
                                        <case value='26'><a href="{:U('Express/confirm_info?user_id='.$user['id'])}">快递确认(内勤渠道)</a></case>
                                     </switch>
                                        <a data-id='{$user.id}' id='shi'>释放</a>
                                   </td>
                                </tr>
                            </volist>
                        </table>
                    </div>
                    {$page}
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript">
       $('#shi').click(function(){
          var id=$(this).data('id');
         $.post('{:U("Index/c_status")}',{id:id},function(data){
            if(data.status==1){
              alert(data.info);
              location.reload();
            }else{
              alert(data.info);
              location.reload();
            }
         });
       });
    </script>